﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YourFileWatcher.Models
{
    /// <summary>
    /// 一个用于操作显示结果的对象
    /// </summary>
    public class LogInfoItem : PropertyChangedBase
    {
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime Time { get; set; }
        /// <summary>
        /// 操作文件或目录名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 操作文件或目录路径
        /// </summary>
        public string FullName { get; set; }
        /// <summary>
        /// 某些操作，文件或目录的旧路径
        /// </summary>
        public string OldFullName { get; set; }
        /// <summary>
        /// 文件或目录更改类型
        /// </summary>
        public WatcherChangeTypes ChangeType { get; set; }
    }
}
